import {
	request
} from '@/utils/request.js'
import { data } from 'uview-ui/libs/mixin/mixin'
export default {
	//注册
	//隐私政策/用户协议
	getPrivacy(data){
		return request('/api/Agreement/userAgreement', data)
	},
	//平台介绍
	Platform(data){
		return request('/api/Agreement/platformIntroduction',data)
	},
	//关于我们
	AboutUs(data){
		return request('/api/Agreement/about',data)
	},
	//用户指引
	guidance(data){
		return request('/api/Agreement/guidelines',data)
	},
	//绑定手机号
	MobilePhone(data){
	   return request('/api/user/wxBindPhone',data)	 
	},
	//h5注册
	getRegister(data){
		return request('/api/Login/register', data) 
	},
	//H5登录
	webLogin(data){
		return request('/api/Login/loginWeb',data)
	},
	//发送验证码
	sendApi(data){
		return request('/api/send_code/send_sms',data)
	},
	//微信登录
	wxLogin(data){
		return request('/api/Accredit/wxlogin',data)
	},
	//找回密码
	zhaohuimimaApi(data){
		return request('/api/Login/retrievePassword',data)
	},
	//注册
	// 获取用户信息
	getUserInfo(data) {
		return request('/api/user/getUserInfo', data)
	},
	// 修改个人信息
	editUserInfo(data) {
		return request('/api/user/editUserInfo', data)
	},
	//收货地址
	//绑定收货地址
	getBindReceiving(data) {
		return request('/api/address/bindAddress', data)
	},
	//获取默认地址
	getMRaddress(data) {
		return request('/api/address/getDefaultAddress', data)
	},
	//设置默认地址
	getSZaddress(data) {
		return request('/api/address/setDefaultAddress', data)
	},
	//删除收货地址
	getDeleteAddress(data) {
		return request('/api/address/deleteAddress', data)
	},
	//修改收货信息
	getReceiving(data) {
		return request('/api/address/editAddress', data)
	},
	//收货地址列表
	getShipping(data){
		return request('/api/address/addressList', data)
	},
	//获取地址详情
	getShipments(data) {
		return request('/api/address/addressListDetail', data)
	},
	//问题反馈
	Problem(data){
		return request('/api/Feedback/add',data)
	},
	//个人标签
	getTabsList(data){
	 return request('/api/user/userLablesList',data)
	} 
}